<?php


namespace App\Models;


class Level extends Model
{
    protected $table = 'levels';

    const MAX_LEVEL = 3;


    // ============= field ==========
    public function setLevel($level)
    {
        $this->level = $level;
    }

    public function getLevel()
    {
        return $this->level;
    }


    public function setWordCount($wordCount)
    {
        $this->word_count = $wordCount;
    }

    public function getWordCount()
    {
        return $this->word_count;
    }

    public function setRate($rate)
    {
        $this->rate = $rate;
    }

    public function getRate()
    {
        return $this->rate;
    }
}